@borderColor: #eaeaea; // 边框颜色
@navFontColor: #999; // 文字颜色
@navBgColor: #000; // 背景
@aHoverColor: #fff; // 鼠标移入背景颜色
@aHoverFontColor: #ff1132; // 鼠标移入字体颜色
.top {
	position: relative;
	border-bottom: 1px solid #ccc;
	background: @aHoverColor;
	.tabbar {
		line-height: 40px;
		.category {
			position: relative;
			float: left;
			width: 164px;
			text-align: center;
			color: @aHoverColor;
			font-size: 14px;
			background: linear-gradient(90deg, red, #ff3264);

			.line-menu-icon {
				float: left;
				margin-top: 13px;
				margin-left: 20px;
			}
			span {
				margin-left: 20px;
			}
		}
		.categories {
			position: absolute;
			z-index: 999;
			width: 164px;
			background: linear-gradient(90deg, red, #ff3264);
			li {
				height: 42px;
				padding: 0 3px 0 2px;
				a {
					display: inline-block;
					position: relative;
					height: 41px;
					width: 100%;
					line-height: 41px;
					color: @aHoverColor;
					border-top: 1px solid #ff5160;
					transition: all 0.2s;
					img {
						position: absolute;
						top: 0;
						bottom: 0;
						margin: auto 0;
						height: 20px;
					}
					img.icon1,
					img.icon2 {
						left: 12px;
					}
					img.arrow2,
					img.arrow1 {
						right: 12px;
					}
					span {
						margin-left: 0;
						margin: 0 20px;
						line-height: 41px;
					}
					&:hover {
						background: @aHoverColor;
						color: red;
					}
					.arrow2,
					.icon2 {
						display: none;
					}
					&:hover .arrow2,
					&:hover .icon2 {
						display: block;
					}
					&:hover .arrow1,
					&:hover .icon1 {
						display: none;
					}
				}
			}
		}
		ul.list {
			float: left;
			margin-left: 25px;
			li {
				float: left;
				margin: 0 8px;
				a {
					display: inline-block;
					padding: 0 12px;
					line-height: 40px;
					font-weight: 700;
					font-size: 15px;
					transition: color 0.2s ease-in;
					&:hover {
						color: @aHoverFontColor;
					}
				}
			}
		}
	}
	.banner {
		/*banner*/
		position: relative;

		min-width: 1110px;
		overflow: hidden;
		.swapper {
			img {
				position: relative;
				z-index: 2;
				left: 50%;
				transform: translate(-50%);
			}
		}
		.service {
			position: absolute;
			overflow: hidden;
			bottom: 0;
			height: 45px;
			width: 100%;
			.blur {
				position: absolute;
				z-index: 3;
				top: 0;
				left: 0;
				right: 0;
				bottom: 0;
				/*毛玻璃效果*/
				background: url(../img/banner-2.jpg) center;
				filter: blur(40px);
			}
			.desc {
				position: relative;
				z-index: 4;
				.desc-list {
					float: left;
					line-height: 45px;
					li {
						float: left;
						a {
							display: inline-block;
							line-height: 45px;
							margin-right: 30px;
							color: @aHoverColor;
							&:hover {
								text-decoration: underline;
							}
						}
					}
				}
				.tips {
					float: right;
					height: 45px;
					line-height: 45px;
					color: @aHoverColor;
					&:hover {
						text-decoration: underline;
					}
				}
			}
		}
	}
	.detail {
		position: absolute;
		display: none;
		z-index: 9999;
		top: 40px;
		width: 947px;
		height: calc(100% - 145px);
		padding: 30px;
		background-color: @aHoverColor;
		transform: translate(164px);

		.item {
			float: left;
			width: 80%;
			height: 100%;
			.list {
				float: left;
				width: 45%;
				h2 {
					color: #000;
					border-bottom: 1px solid #000;
				}
				.list-items {
					margin-top: 10px;
					padding-right: 30px;
				}
				span {
					margin-right: 30px;
				}
			}
		}
		.list-img {
			width: 20%;
			float: right;
			img {
				width: 40%;
			}
		}
	}
	.tabbar:hover .detail {
		display: block;
	}
}
